package cn.edu.nju.gitlab.injector;

import cn.edu.nju.gitlab.activity.HomeworkActivity;
import cn.edu.nju.gitlab.activity.StudentActivity;
import cn.edu.nju.gitlab.fragment.ClassListFragment;
import cn.edu.nju.gitlab.activity.AnalysisActivity;
import cn.edu.nju.gitlab.activity.LoginActivity;
import cn.edu.nju.gitlab.activity.TestMetricActivity;
import cn.edu.nju.gitlab.fragment.ExamListFragment;
import cn.edu.nju.gitlab.fragment.ExerciseListFragment;
import cn.edu.nju.gitlab.fragment.HomeworkListFragment;

import cn.edu.nju.gitlab.fragment.ScoreFragment;
import dagger.Component;

/**
 * Created by lpt on 2017/6/1.
 */
@Component(modules = MainModule.class)
public interface ActivityComponent {
    void inject(LoginActivity activity);

    //void inject(StudentsListFragment fragment);

    void inject(ExamListFragment fragment);

    void inject(ExerciseListFragment fragment);

    void inject(HomeworkListFragment fragment);

    void inject(ScoreFragment fragment);

    void inject(ClassListFragment fragment);

    void inject(AnalysisActivity activity);

    void inject(TestMetricActivity activity);

    void inject(StudentActivity activity);

    void inject(HomeworkActivity activity);
}
